package cn.wolfcode.crm.mapper;

import cn.wolfcode.crm.domain.BigClient;
import cn.wolfcode.crm.domain.ClassRoom;
import cn.wolfcode.crm.query.BigClientObject;

import java.util.List;

public interface BigClientMapper {
    int deleteByPrimaryKey(Long id);

    int insert(BigClient record);

    BigClient selectByPrimaryKey(Long id);

    List<BigClient> selectAll();

    int updateByPrimaryKey(BigClient record);

    /**
     * 查询总记录数
     * @param qo
     * @return
     */
    int queryForCount(BigClientObject qo);

    /**
     * 查询当前页的所有数据
     * @param qo
     * @return
     */
    List<BigClient> queryForList(BigClientObject qo);

    void sign(Long id);
}